package org.example.studentmanager.entity;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

@Data
public class CourseSelectionsStudent {
    private Integer studentId;
    private Integer courseId;
    private LocalDateTime date_time;
    private String courseName;
    private Integer chours; // 改为小写
    private String teacherName;
    private String status;

    // 添加 getter 和 setter（如果 Lombok 不工作）
    public Integer getStudentId() {
        return studentId;
    }

    public void setStudentId(Integer studentId) {
        this.studentId = studentId;
    }

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public LocalDateTime getDate_time() {
        return date_time;
    }

    public void setDate_time(LocalDateTime date_time) {
        this.date_time = date_time;
    }
}


